﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;

public interface IMapManager
{
    void InitMapFile();
    void InitMapData(string MapID);
    void InitDoorsAndCorridors();
    void InitEdgeWall();
    bool CheckClear(bool AllClear);
    void ClearMap();
    void ToTheNextRoom(Action action);
    int GetRoomID(int y, int x);
    int GetRoomID(MapEditorBase.MapGround ground);
    int GetHashPosKey(int y, int x);
    int GetHashPosKey(Vector3 pos);
    MapEditorBase.MapEditor GetMapEditor();
    MapEditorBase.MapGround GetNearestGround(Vector3 target);
    MapEditorBase.MapGround GetCertainGround(int y, int x);
    MapEditorBase.MapGround GetCertainGround(Vector3 vec);
    MapEditorBase.MapRoom GetCertainRoom(int roomID);

}
